package com.tjy.farmer.domain;

import java.util.List;

public class FarmerLocationTaskVO {
    private Integer farmerId;
    private String name;
    private String farmerPhone;// 蜂农姓名
    private Location location;          // 蜂农所在位置
    private String areaName;            // 负责的区域名称
    private List<Location> areaBoundary; // 区域边界点列表

    public FarmerLocationTaskVO( Integer farmerId, String name,String farmerPhone, Location location, String areaName, List<Location> areaBoundary) {
        this.farmerId = farmerId;
        this.name = name;
        this.farmerPhone = farmerPhone;
        this.location = location;
        this.areaName = areaName;
        this.areaBoundary = areaBoundary;
    }

    // getter和setter方法
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Location getLocation() {
        return location;
    }

    public void setLocation(Location location) {
        this.location = location;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public List<Location> getAreaBoundary() {
        return areaBoundary;
    }

    public void setAreaBoundary(List<Location> areaBoundary) {
        this.areaBoundary = areaBoundary;
    }

    public Integer getFarmerId() {
        return farmerId;
    }

    public void setFarmerId(Integer farmerId) {
        this.farmerId = farmerId;
    }

    public String getFarmerPhone() {
        return farmerPhone;
    }

    public void setFarmerPhone(String farmerPhone) {
        this.farmerPhone = farmerPhone;
    }
}
